package org.jeecg.modules.ncmeapis.network.entities.entity.params;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel(value="上传文件参数", description="仅文件")
@AllArgsConstructor
public class SimUploadParam {
    @NotBlank(message = "文件不能为空")
    @ApiModelProperty(value = "上传文件")
    private MultipartFile file;
    @NotBlank(message = "目标路径id不能为空")
    @ApiModelProperty(value = "目标路径id")
    private String targetId;
}
